package com.securitydemo.service;

import com.securitydemo.dao.entity.UserEntity;
import com.securitydemo.securitylogin.LoginUser;

public interface IUserService {

    /**
     * 根据用户名查询数据库用户数据，用于登录是数据获取
     * @param username
     * @return
     */
    LoginUser getUserByUsername(String username);

    /**
     * 注册用户
     * @param userEntity
     */
    String registerLogin(UserEntity userEntity);
}
